<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/topBegin.jsp"%>
</head>
<body>
<div  id="table_form_div" class="table_form1">
<table class="table-form" width="100%">
   <tbody>
       <tr>
	 	<td width="10%" class="table-th">车牌号</td>
	    <td class="table-td"  colspan="3">${entity.licenseNum}</td>
	    <td  width="10%" class="table-th">车牌颜色</td>
        <td class="table-td"  colspan="3">
     		<c:if test="${entity.carType==1 }">
           		黄色
           		</c:if>
           		<c:if test="${entity.carType==2 }">
           		蓝色
           	</c:if>
       	</td>
	  </tr>
	  <tr>
	  	<td  width="10%" class="table-th">挂车牌号</td>
         　	<td class="table-td" colspan="3">${entity.licenseNum2}</td>
        <td  width="10%" class="table-th">车辆颜色</td>
         　	<td class="table-td" colspan="3">${entity.carColor}</td>
    　	 </tr>
	<tr>
	   	<td  width="10%" class="table-th">车辆类型</td>
	    <td class="table-td"  colspan="3"> 
       		${entity.carCategory.name }
       </td>
	   <td  width="10%" class="table-th">车辆长、宽、高(MM)</td>
         　 <td class="table-td" colspan="3">
         <c:if test="${not empty entity.lengthSize  && not empty entity.widthSize && not empty entity.highSize}">
         	${entity.lengthSize}×${entity.widthSize }×${entity.highSize }
         </c:if>
	   </td>
	</tr>
	
	<tr>
	  <td  width="10%" class="table-th">核定载重（Kg）</td>
      <td class="table-td" width="10%">${entity.carryCapacity}</td>
   　			
   	 <td  width="10%" class="table-th">整备质量（Kg）</td>
     <td class="table-td" width="10%">${entity.curbWeight}</td>
	 <td  width="10%" class="table-th">准牵引总质量或挂车总质量（Kg）</td>
     　  <td class="table-td" colspan="3">${entity.ttMass}</td>
　	</tr>
    <tr>
   	 <td width="10%" class="table-th">企业名称</td>
	 <td class="table-td" colspan="3">${entity.company.name }</td>
   	 <td  width="10%" class="table-th">持有类型</td>
     <td class="table-td"  colspan="3"> 
     	<c:choose>
      		<c:when test="${entity.carType eq 1 }">自有</c:when>
      		<c:when test="${entity.carType eq 2 }">承保</c:when>
      		<c:otherwise>社会</c:otherwise>
		</c:choose>
	 </td>
	</tr>
   <tr>
	  	<td width="10%" class="table-th">道路运输证号码</td>
	    <td class="table-td" colspan="3">${entity.transLicenseNum }</td>
	     
	    <td width="10%" class="table-th">经营范围</td>
	    <td class="table-td" colspan="3">${entity.bussinessScope }</td>
    </tr>
    <tr>
    	
    </tr>
    <tr>
     <td width="10%" class="table-th">交强险有效期</td>
     <td class="table-td"  colspan="3"><fmt:formatDate value="${entity.forcedInsuranceTime}" pattern="yyyy-MM-dd"/></td>
     <td width="10%" class="table-th">第三者责任险有效期</td>
     <td class="table-td"  colspan="3"><fmt:formatDate value="${entity.thirdInsuranceTime}" pattern="yyyy-MM-dd"/></td>
    </tr>
    <tr>
        <td width="10%" class="table-th">承运人责任险有效期</td>
     	<td class="table-td"  colspan="3"> <fmt:formatDate value="${entity.carrierInsuranceTime}" pattern="yyyy-MM-dd"/></td>
        <td width="10%" class="table-th">卫星定位系统营运商</td>
		<td class="table-td" colspan="3">${entity.satelliteSupplier }</td>
	</tr>
	<tr>
		<td width="10%" class="table-th">道路运输证年审有效期</td>
		<td class="table-td"  width="15%"><fmt:formatDate value="${entity.transLicenseExamTime}" pattern="yyyy-MM-dd"/></td>
		<td width="10%" class="table-th">证件有效期</td>
		<td class="table-td"  width="15%"><fmt:formatDate value="${entity.transLicenseValidityTime}" pattern="yyyy-MM-dd"/></td>
        <td width="10%" class="table-th">行驶证年审有效期</td>
     	<td class="table-td"  width="15%"><fmt:formatDate value="${entity.driveExamTime}" pattern="yyyy-MM-dd"/></td>
        <td width="10%" class="table-th">证件有效期</td>
     	<td class="table-td"  width="15%"><fmt:formatDate value="${entity.driveValidityTime}" pattern="yyyy-MM-dd"/></td>
    </tr>
    <tr>
		<td width="10%" class="table-th">罐体年检有效期</td>
      	<td class="table-td"  colspan="3"><fmt:formatDate value="${entity.tankExamTime}" pattern="yyyy-MM-dd"/></td>
        <td width="10%" class="table-th">罐体容积(M³)</td>
        <td class="table-td"  width="15%">${entity.tankVolume}</td>
        <td width="10%" class="table-th">罐体材质</td>
        <td class="table-td"  width="15%">${entity.tankMaterial}</td>
	</tr>
	<tr>
         <td width="10%" class="table-th">技术等级评定有效期</td>
      	 <td class="table-td"  colspan="3"><fmt:formatDate value="${entity.techicalGradeTime}" pattern="yyyy-MM-dd"/></td>
         <td width="10%" class="table-th">二级维护有效期</td>
      	 <td class="table-td" colspan="3"><fmt:formatDate value="${entity.secondMaintenanceTime}" pattern="yyyy-MM-dd"/></td>
     </tr>
      <tr>
       <td  width="10%" class="table-th">
       		<span id="type1">驾驶员</span>
       	</td>
       <td class="table-td" colspan="3">${driver.name }</td>
       <td  width="10%" class="table-th">
       		<span id="type1">押运员</span>
       	</td>
       <td class="table-td"  colspan="3">${escort.name}</td>
   </tr>
   <tr>
  	 <td  width="10%" class="table-th">驾驶证号</td>
  	 <td class="table-td"  width="15%">${driver.driverLiceseNum}</td>
	<td  width="10%" class="table-th">证件有效期</td>
	<td width="15%" class="table_td"><fmt:formatDate value='${driver.driverLiceseNumValidity}' pattern="yyyy-MM-dd"/></td>
	<td width="10%" class="table-th">从业资格证号</td>							
	<td class="table-td" width="15%">${escort.superCargoNum}</td>						
	<td  width="10%" class="table-th">证件有效期</td>
	<td width="15%" class="table_td"><fmt:formatDate value="${escort.superCargoNumValidity}" pattern="yyyy-MM-dd"/></td>
  </tr>
  <tr>
    	<td  width="10%" class="table-th">联系电话</td>
    	 <td class="table-td"  colspan="3">${driver.contractPhone}</td>
    	<td  width="10%" class="table-th">联系电话</td>
    	 <td class="table-td"  colspan="3">${escort.contractPhone}</td>
  </tr>
	    <tr rowspan="5">
	    	<td width="10%" class="table-th">个人照片</td>
	    	<td class="table-td"  colspan="3" align="center">
	    		 <c:choose>
					<c:when test="${not empty driver.photo }">
						<img id="driver_photo" src="${ctx}/upload/${driver.photo}"
							style="width: 90%; height:auto;" />
					</c:when>
					<c:otherwise>
						<img id="driver_photo" src="${ctx}/images/organ/nophoto.gif"
							style="width: 90%; height: 250px;;" />
					</c:otherwise>
				</c:choose>
	    	</td>
	    	<td width="10%" class="table-th">个人照片</td>
	    	<td class="table-td"  colspan="3" align="center">
	    		  <c:choose>
					<c:when test="${not empty escort.photo }">
						<img id="escort_photo" src="${ctx}/upload/${escort.photo}"
							style="width: 90%; height: auto;" />
					</c:when>
					<c:otherwise>
						<img id="escort_photo" src="${ctx}/images/organ/nophoto.gif"
							style="width: 90%; height:250px;;" />
					</c:otherwise>
				</c:choose>
	    	</td>
	    </tr>
	     <tr>
	      <td width="15%" class="table-th">备注</td>
	      　  <td colspan="3" class="table-td">${entity.remark}</td>
	     </tr>
		 </tbody>
	  </table>
	  </div>
	  </body>
	  </html>
	  